package com.dxb.receiver;

import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * 类说明：
 */
@Component
@RabbitListener(queues = "queueTopic1")
@Slf4j
public class ConsumerTopic1 {
    @RabbitHandler
    public void process(String msg) {
        log.info(msg);
    }

}
